/* ========================================= */
/* FLIPBOOK SECTION */
/* ========================================= */

.flipbook-wrapper-section {

  width: 100%;
  max-width: 1400px;

  margin: 70px auto;

  padding: 0 20px;

  box-sizing: border-box;

  animation: fadeSection 1s ease;
}

/* ========================================= */
/* TOP CONTENT */
/* ========================================= */

.flipbook-top-content {

  max-width: 820px;

  margin: 0 auto 45px auto;

  text-align: left;
}

.flipbook-top-content h2 {

  font-size: 52px;

  line-height: 1.1;

  font-weight: 800;

  color: #18243d;

  margin-bottom: 24px;

  position: relative;
}

/* RED UNDERLINE */

.flipbook-top-content h2::after {

  content: "";

  width: 65px;
  height: 5px;

  background: #ec0016;

  display: block;

  margin-top: 18px;

  border-radius: 20px;
}

.flipbook-top-content p {

  font-size: 20px;

  line-height: 1.9;

  color: #3e4758;

  max-width: 780px;
}

/* ========================================= */
/* FLIPBOOK CONTAINER */
/* ========================================= */

.flipbook-frame {

  width: 100%;

  background: #111;

  border-radius: 12px;

  overflow: hidden;

  box-shadow:
    0 25px 70px rgba(0,0,0,0.18);

  position: relative;

  transition: 0.4s ease;
}

/* HOVER EFFECT */

.flipbook-frame:hover {

  transform: translateY(-5px);

  box-shadow:
    0 35px 90px rgba(0,0,0,0.22);
}

/* ========================================= */
/* IFRAME */
/* ========================================= */

.flipbook-frame iframe {

  width: 100%;

  height: 980px;

  border: none;

  display: block;

  background: #111;
}

/* ========================================= */
/* FADE ANIMATION */
/* ========================================= */

@keyframes fadeSection {

  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================= */
/* LARGE SCREEN */
/* ========================================= */

@media (min-width: 1600px) {

  .flipbook-frame iframe {

    height: 1100px;
  }
}

/* ========================================= */
/* TABLET */
/* ========================================= */

@media (max-width: 1024px) {

  .flipbook-top-content h2 {

    font-size: 42px;
  }

  .flipbook-top-content p {

    font-size: 18px;
  }

  .flipbook-frame iframe {

    height: 850px;
  }
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 768px) {

  .flipbook-wrapper-section {

    margin: 50px auto;
    padding: 0 15px;
  }

  .flipbook-top-content {

    margin-bottom: 30px;
  }

  .flipbook-top-content h2 {

    font-size: 32px;

    line-height: 1.2;

    margin-bottom: 18px;
  }

  .flipbook-top-content h2::after {

    width: 55px;
    height: 4px;

    margin-top: 14px;
  }

  .flipbook-top-content p {

    font-size: 16px;

    line-height: 1.8;
  }

  .flipbook-frame {

    border-radius: 8px;
  }

  .flipbook-frame iframe {

    height: 620px;
  }
}

/* ========================================= */
/* SMALL MOBILE */
/* ========================================= */

@media (max-width: 480px) {

  .flipbook-top-content h2 {

    font-size: 26px;
  }

  .flipbook-top-content p {

    font-size: 15px;
  }

  .flipbook-frame iframe {

    height: 520px;
  }
}